/* 轮播图 */
.slider {
    position: relative;
    margin: 20px 0;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.bd ul {
    list-style: none;
    display: flex;
    height: 100%;
}

.bd li {
    flex: 1;
    height: 100%;
}

.bd img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}